fix bugs with simplify filter (#1148)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Fri, 28 Jul 2023 20:40:30 +0000 (14:40 -0600)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2023 20:40:30 +0000 (14:40 -0600)
commitc9dd6e3f34549b3a1bc35a23f9ebe3ce72f386ff
tree00df7a1ad8fb41059511da38b0acadccc6f8fab5
parent796d517a9fc42d5a477fd05a233aa0b7c2e242ad
fix bugs with simplify filter (#1148)

1. With the length option the last point deleted took the total error
over the specified limit.

2. When computing the total error if another point is deleted it was
possible to refer to an xte record that needed to be updated due to
the deletion of one of its neighbors.
reference/simplify_error_length.gpx
smplrout.cc